Integrand size = 25, antiderivative size = 95 \[ \int \frac {\sqrt {b \sec (e+f x)}}{(a \sin (e+f x))^{5/2}} \, dx=-\frac {2 b}{3 a f \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{3/2}}+\frac {2 \operatorname {EllipticF}\left (e-\frac {\pi }{4}+f x,2\right ) \sqrt {b \sec (e+f x)} \sqrt {\sin (2 e+2 f x)}}{3 a^2 f \sqrt {a \sin (e+f x)}} \]
[Out]
Time = 0.18 (sec) , antiderivative size = 95, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {2664, 2665, 2653, 2720} \[ \int \frac {\sqrt {b \sec (e+f x)}}{(a \sin (e+f x))^{5/2}} \, dx=\frac {2 \sqrt {\sin (2 e+2 f x)} \operatorname {EllipticF}\left (e+f x-\frac {\pi }{4},2\right ) \sqrt {b \sec (e+f x)}}{3 a^2 f \sqrt {a \sin (e+f x)}}-\frac {2 b}{3 a f (a \sin (e+f x))^{3/2} \sqrt {b \sec (e+f x)}} \]
[In]
[Out]
Rule 2653
Rule 2664
Rule 2665
Rule 2720
Rubi steps \begin{align*} \text {integral}& = -\frac {2 b}{3 a f \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{3/2}}+\frac {2 \int \frac {\sqrt {b \sec (e+f x)}}{\sqrt {a \sin (e+f x)}} \, dx}{3 a^2} \\ & = -\frac {2 b}{3 a f \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{3/2}}+\frac {\left (2 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \int \frac {1}{\sqrt {b \cos (e+f x)} \sqrt {a \sin (e+f x)}} \, dx}{3 a^2} \\ & = -\frac {2 b}{3 a f \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{3/2}}+\frac {\left (2 \sqrt {b \sec (e+f x)} \sqrt {\sin (2 e+2 f x)}\right ) \int \frac {1}{\sqrt {\sin (2 e+2 f x)}} \, dx}{3 a^2 \sqrt {a \sin (e+f x)}} \\ & = -\frac {2 b}{3 a f \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{3/2}}+\frac {2 \operatorname {EllipticF}\left (e-\frac {\pi }{4}+f x,2\right ) \sqrt {b \sec (e+f x)} \sqrt {\sin (2 e+2 f x)}}{3 a^2 f \sqrt {a \sin (e+f x)}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 0.70 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.79 \[ \int \frac {\sqrt {b \sec (e+f x)}}{(a \sin (e+f x))^{5/2}} \, dx=\frac {2 \cot (e+f x) \sqrt {b \sec (e+f x)} \left (-1+\operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {3}{4},\frac {3}{2},\sec ^2(e+f x)\right ) \left (-\tan ^2(e+f x)\right )^{3/4}\right )}{3 a^2 f \sqrt {a \sin (e+f x)}} \]
[In]
[Out]
Time = 0.84 (sec) , antiderivative size = 207, normalized size of antiderivative = 2.18
method | result | size |
default | \(-\frac {\sqrt {2}\, \sqrt {b \sec \left (f x +e \right )}\, \left (-2 \sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )}\, F\left (\sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}, \frac {\sqrt {2}}{2}\right ) \cos \left (f x +e \right )-2 \sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )}\, F\left (\sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}, \frac {\sqrt {2}}{2}\right )+\sqrt {2}\, \cot \left (f x +e \right )\right )}{3 f \sqrt {a \sin \left (f x +e \right )}\, a^{2}}\) | \(207\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.12 (sec) , antiderivative size = 125, normalized size of antiderivative = 1.32 \[ \int \frac {\sqrt {b \sec (e+f x)}}{(a \sin (e+f x))^{5/2}} \, dx=-\frac {2 \, {\left (\sqrt {i \, a b} {\left (\cos \left (f x + e\right )^{2} - 1\right )} F(\arcsin \left (\cos \left (f x + e\right ) + i \, \sin \left (f x + e\right )\right )\,|\,-1) + \sqrt {-i \, a b} {\left (\cos \left (f x + e\right )^{2} - 1\right )} F(\arcsin \left (\cos \left (f x + e\right ) - i \, \sin \left (f x + e\right )\right )\,|\,-1) - \sqrt {a \sin \left (f x + e\right )} \sqrt {\frac {b}{\cos \left (f x + e\right )}} \cos \left (f x + e\right )\right )}}{3 \, {\left (a^{3} f \cos \left (f x + e\right )^{2} - a^{3} f\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {b \sec (e+f x)}}{(a \sin (e+f x))^{5/2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sqrt {b \sec (e+f x)}}{(a \sin (e+f x))^{5/2}} \, dx=\int { \frac {\sqrt {b \sec \left (f x + e\right )}}{\left (a \sin \left (f x + e\right )\right )^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {b \sec (e+f x)}}{(a \sin (e+f x))^{5/2}} \, dx=\int { \frac {\sqrt {b \sec \left (f x + e\right )}}{\left (a \sin \left (f x + e\right )\right )^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {b \sec (e+f x)}}{(a \sin (e+f x))^{5/2}} \, dx=\int \frac {\sqrt {\frac {b}{\cos \left (e+f\,x\right )}}}{{\left (a\,\sin \left (e+f\,x\right )\right )}^{5/2}} \,d x \]
[In]
[Out]